package com.example.demo.controller;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.example.demo.model.SysUser;
import com.example.demo.service.SysUserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 商品表 前端控制器
 * </p>
 *
 * @author llc
 * @since 2024-03-23
 */
@RestController
@RequestMapping("/llcItems")
public class LlcItemsController {


    @Resource
    private SysUserService sysUserService;


    @GetMapping("/test")
    public String getMsg(){
        System.out.println("1123456");
        List<SysUser> list = sysUserService.list(new LambdaQueryWrapper<SysUser>());
        System.out.println(list);
        return list.toString();
    }

}

